/*
 * 
 */

package Communication;

import java.io.Serializable;

/**
 *
 * @author q530
 */
public class C2ServerPacket implements Serializable {
    private int desiredFloor;
    private int desiredDirection;
    private int currentFloor;

    public C2ServerPacket(int desireFloor, int desireDir, int currentFloor){
        this.desiredDirection = desireDir;
        this.desiredFloor = desireFloor;
        this.currentFloor = currentFloor;
    }

    /**
     * @return the desiredFloor
     */
    public int getDesiredFloor() {
        return desiredFloor;
    }

    /**
     * @return the desiredDirection
     */
    public int getDesiredDirection() {
        return desiredDirection;
    }

    /**
     * @return the currentFloor
     */
    public int getCurrentFloor() {
        return currentFloor;
    }

}
